Ext.define('Zm.view.View', {
    alias: 'widget.cardview',
    extend: 'Ext.panel.Panel',
    requires:[
        'Ext.layout.container.Card',
        'Zm.view.x3d.View',
        'Zm.view.model.View',
        'Zm.view.line.Search',
        'Zm.view.tour.List',
        'Zm.view.tour.Log',
        'Zm.view.history.List',
        'Zm.view.user.List',
        'Zm.view.chart.List',
        'Zm.view.real.TotalView'
    ],
    layout: 'card',
    
    initComponent: function(){
        var me = this;
        Ext.apply(me,{
            deferredRender:true,
            items:[{
                xtype:'x3dcontainer'
            },{
                xtype:'modelview',
                stateId:'modelview',
                stateful:true
            },{
                xtype:'linesearch',
                stateId:'linesearch',
                stateful:true
            },{
                xtype:'tourlist',
                stateId:'tourlist',
                stateful:true
            },{
                xtype:'tourlog',
                stateId:'tourlog',
                stateful:true
            },{
                xtype:'historylist',
                stateId:'historylist',
                stateful:true
            },{
                xtype:'chartlist',
                stateId:'chartlist',
                stateful:true
            },{
                xtype:'userlist',
                stateId:'userlist',
                stateful:true
            },{
                xtype:'totalview'
            }] 
        });
        me.callParent(arguments);
    }
});
